# resources.py

import logging

from import_export import resources

from .models import UserExtraction

logger = logging.getLogger(__name__)


class UserExtractionResource(resources.ModelResource):

    class Meta:
        model = UserExtraction
        exclude = ('id', 'created_at', 'updated_at',
                   'created_by', 'updated_by')
        import_id_fields = []  # 每次都新增
